package com.woniuxy.controller.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.time.LocalDateTime;

@Data
@ApiModel("修改商铺信息对象")
public class StoreRegisterUpdateForm {

    @ApiModelProperty("数据id")
    private Integer id;
    @ApiModelProperty("店铺创建人名称")
    private String createUser;
    @ApiModelProperty("店铺创建时间")
    private LocalDateTime createDate;
    @Length(min = 6,max = 12,message = "商铺名称长度只能在1-12位之间")
    @ApiModelProperty("商铺名称")
    private String storeName;
    @ApiModelProperty("商铺地址")
    private String address;
    @ApiModelProperty("联系电话")
    @Length(min = 11,max = 11,message = "电话号码只能11位")
    private String phone;
    @ApiModelProperty("联系人")
    private String linkman;
    @ApiModelProperty("餐饮许可证")
    private String permit;
    @ApiModelProperty("营业执照")
    private String license;
    @ApiModelProperty("备注")
    private String remarks;
}
